class DateUtil {
    static parseDate(dateStr: string): Date {
        return new Date(dateStr);
    }

    static plusDays(date: Date, days: number): Date {
        return new Date(date.getTime() + days * 24 * 60 * 60 * 1000);
    }

    static plusYears(date: Date, years: number): Date {
        return new Date(date.getTime() + years * 365 * 24 * 60 * 60 * 1000);
    }
}